QuickOPC User's Guide and Reference
UAStructureDefinition Constructor(UANodeId,UANodeId,UAStructureType,IEnumerable<UAStructureField>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAStructureDefinition Class > UAStructureDefinition Constructor : UAStructureDefinition Constructor(UANodeId,UANodeId,UAStructureType,IEnumerable<UAStructureField>)
The Node ID of the default data type encoding for the data type.
The Node ID of the direct supertype of the data type.
The type of structure (a structure without or with optional fields, or a union).
Sequence of fields that make up the data type.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal defaultEncodingId As UANodeId, _
   ByVal baseDataTypeId As UANodeId, _
   ByVal structureType As UAStructureType, _
   ByVal fields As IEnumerable(Of UAStructureField) _
)
'Usage
 
Dim defaultEncodingId As UANodeId
Dim baseDataTypeId As UANodeId
Dim structureType As UAStructureType
Dim fields As IEnumerable(Of UAStructureField)
 
Dim instance As New UAStructureDefinition(defaultEncodingId, baseDataTypeId, structureType, fields)

Parameters

defaultEncodingId
The Node ID of the default data type encoding for the data type.
baseDataTypeId
The Node ID of the direct supertype of the data type.
structureType
The type of structure (a structure without or with optional fields, or a union).
fields
Sequence of fields that make up the data type.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also